//
//  TuiKuanViewController.m
//  ShangChengMoBan
//
//  Created by yaoqi yaoqi on 16/9/1.
//  Copyright © 2016年 ping. All rights reserved.
//

#import "TuiKuanViewController.h"
#import "TKDetailsViewController.h"
#import "QKWhereViewController.h"
@interface TuiKuanViewController ()
@property (weak, nonatomic) IBOutlet UILabel *prize;
@property (weak, nonatomic) IBOutlet UIButton *quXiang;
@property (weak, nonatomic) IBOutlet UILabel *time;
- (IBAction)quXiang:(id)sender;
@property (weak, nonatomic) IBOutlet UILabel *leiXing;
@property (weak, nonatomic) IBOutlet UILabel *prize2;
@property (weak, nonatomic) IBOutlet UILabel *yuanYin;
@property (weak, nonatomic) IBOutlet UILabel *shuoMing;
@property (weak, nonatomic) IBOutlet UILabel *time2;
@property (weak, nonatomic) IBOutlet UILabel *bianMa;
- (IBAction)help:(id)sender;

@end

@implementation TuiKuanViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self drawNavWithTitle:@"退款详情" WithColor:[UIColor colorWithHue:0.00 saturation:0.00 brightness:1.00 alpha:1.00]];
    self.view.backgroundColor =[UIColor colorWithHue:0.00 saturation:0.00 brightness:0.92 alpha:1.00];
     [self drawBackButton];
    UIScrollView * scroll = [[UIScrollView alloc]initWithFrame:CGRectMake(0, 64, KScreenWidth, KScreenHeight-64)];
    scroll.contentSize = CGSizeMake(KScreenWidth, 480);
    
    [self.view addSubview:scroll];
    UIView * view = [[[NSBundle mainBundle]loadNibNamed:@"TuiKuan" owner:self options:nil] lastObject];
    view.frame = CGRectMake(0, 0, KScreenWidth,480);
    [scroll addSubview:view];
    _quXiang.layer.borderWidth=1;
    _quXiang.layer.borderColor=[UIColor colorWithHue:0.00 saturation:0.00 brightness:0.90 alpha:1.00].CGColor;
}
- (IBAction)quXiang:(id)sender {
    QKWhereViewController * details = [[QKWhereViewController alloc]init];
    [self.navigationController pushViewController:details animated:YES];
}
- (IBAction)help:(id)sender {
}
- (IBAction)xieShang:(id)sender {
    TKDetailsViewController * details = [[TKDetailsViewController alloc]init];
    [self.navigationController pushViewController:details animated:YES];
}
@end
